package simple.example.labyrinthe;
import java.lang.Math;

public class Vector2d {
	
	private double _x;
	private double _y;
	
	public Vector2d() {
		_x = 0;
		_y = 0;
	}

	public double GetX() {
		return _x;
	}

	public void SetX(double x) {
		_x = x;
	}

	public double GetY() {
		return _y;
	}

	public void SetY(double y) {
		_y = y;
	}
	
	public double Length() {
		return Math.sqrt(_x * _x + _y * _y);
	}
}
